package com.freight.order.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.freight.core.base.FreightBaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.hibernate.annotations.DynamicInsert;
import org.hibernate.annotations.DynamicUpdate;

import javax.persistence.Entity;
import javax.persistence.Table;

@Data
@Entity
@DynamicInsert
@DynamicUpdate
@Table(name = "goods_loading_time")
@TableName("goods_loading_time")
@ApiModel(value = "货物装货时间")
public class GoodsLoadingTime extends FreightBaseEntity {

    @ApiModelProperty(value = "货源id")
    private Long goodsId;

    @ApiModelProperty(value = "派单状态 1未派 2已派")
    private String loadingState;

    @ApiModelProperty(value = "装货时间")
    private String loadingTime;

}
